package com.zbxx.dao;

import com.zbxx.domain.Employee;

import java.util.List;

/*
* 员工管理的dao的接口
* */
public interface EmployeeDao {
    Employee findByUsernameAndPassword(Employee employee);

    int findCount();

    List<Employee> findByPage(int begin, int pageSize);

    void save(Employee employee);

    Employee finById(Integer eid);

    void update(Employee employee);

    void delete(Employee employee);
}
